package org.springframework.security.core;

import com.itcoon.cloud.framework.ex.errorcode.IModuleServiceErrorCode;
import com.itcoon.cloud.framework.ex.exception.BaseModuleServiceException;
import com.itcoon.cloud.framework.ex.exception.BaseServiceException;

public class AuthenticationException extends BaseModuleServiceException {

	public AuthenticationException(String localizeMessage) {
		super(localizeMessage, null);
	}

	public AuthenticationException(String localizeMessage, Throwable cause) {
		super(localizeMessage, cause);
	}

	public <EX extends BaseServiceException> AuthenticationException(IModuleServiceErrorCode<EX> errorCode, String... args) {
		super(errorCode, args);
	}

	public <EX extends BaseServiceException> AuthenticationException(IModuleServiceErrorCode<EX> errorCode, Throwable cause, String... args) {
		super(errorCode, cause, args);
	}

	public AuthenticationException(String localizeMessage, Throwable cause, String... args) {
		super(localizeMessage, cause, args);
	}
}
